<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Ansonika">
    <title>火云鞋神优秀产品</title>

    <!-- Favicons-->
    <link rel="shortcut icon" href="../img3/favicon.ico" type="image/x-icon">
    <link rel="apple-touch-icon" type="image/x-icon" href="../img3/apple-touch-icon-57x57-precomposed.png">
    <link rel="apple-touch-icon" type="image/x-icon" sizes="72x72" href="../img3/apple-touch-icon-72x72-precomposed.png">
    <link rel="apple-touch-icon" type="image/x-icon" sizes="114x114" href="../img3/apple-touch-icon-114x114-precomposed.png">
    <link rel="apple-touch-icon" type="image/x-icon" sizes="144x144" href="../img3/apple-touch-icon-144x144-precomposed.png">
	
    <!-- GOOGLE WEB FONT -->
    <link rel="dns-prefetch" href="https://fonts.gstatic.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous">
    <link rel="preload" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap" as="fetch" crossorigin="anonymous">
    <script>
    !function(e,n,t){"use strict";var o="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap",r="__3perf_googleFonts_c2536";function c(e){(n.head||n.body).appendChild(e)}function a(){var e=n.createElement("link");e.href=o,e.rel="stylesheet",c(e)}function f(e){if(!n.getElementById(r)){var t=n.createElement("style");t.id=r,c(t)}n.getElementById(r).innerHTML=e}e.FontFace&&e.FontFace.prototype.hasOwnProperty("display")?(t[r]&&f(t[r]),fetch(o).then(function(e){return e.text()}).then(function(e){return e.replace(/@font-face {/g,"@font-face{font-display:swap;")}).then(function(e){return t[r]=e}).then(f).catch(a)):a()}(window,document,localStorage);
    </script>

    <!-- BASE CSS -->
    <link href="../css/bootstrap.custom.min.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">

    <!-- SPECIFIC CSS -->
    <link href="../css/listing.css" rel="stylesheet">

</head>

<body>
	
	<div id="page" class="theia-exception">

		<iframe   src="../html/head.html" width="100%" height="260px" scrolling="no"  name="iframe1" id="iframe1"   style="border: 0" >
		</iframe>
	<!-- /header -->
		
	<main>
	    <div class="container margin_30">
	        <div class="row">
	            <aside class="col-lg-3" id="sidebar_fixed">
	                <div class="filter_col">
	                    <div class="inner_bt"><a href="#" class="open_filters"><i class="ti-close"></i></a></div>
	                    <div class="filter_type version_2">
	                        <h4><a href="#filter_1" data-toggle="collapse" class="opened">性别</a></h4>
	                        <div class="collapse show" id="filter_1">
	                            <ul>
	                                <li>
	                                    <label class="container_check">男鞋<small>12</small>
	                                        <input type="radio" name="sex" value="男鞋">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">女鞋<small>24</small>
	                                        <input type="radio" name="sex" value="女鞋">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">童鞋<small>23</small>
	                                        <input type="radio" name="sex" value="童鞋">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                            </ul>
	                        </div>
	                        <!-- /filter_type -->
	                    </div>
	                    <!-- /filter_type -->
	                    <div class="filter_type version_2">
	                        <h4><a href="#filter_2" data-toggle="collapse" class="opened">品牌</a></h4>
	                        <div class="collapse show" id="filter_2">
	                            <ul>
	                                <li>
	                                    <label class="container_check">耐克（NIKE）<small>06</small>
	                                        <input type="radio" name="brand" value="耐克（NIKE）">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">阿迪达斯（adidas） <small>12</small>
	                                        <input type="radio" name="brand" value="阿迪达斯（adidas）">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">蓝中鸟（LanZhongNiao） <small>17</small>
	                                        <input type="radio" name="brand" value="蓝中鸟（LanZhongNiao）">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">特步（XTEP）<small>43</small>
	                                        <input type="radio" name="brand" value="特步（XTEP）">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
									<li>
										<label class="container_check">热风（Hotwind）<small>43</small>
											<input type="radio" name="brand" value="热风（Hotwind）">
											<span class="checkmark"></span>
										</label>
									</li>
									<li>
										<label class="container_check">威世米邦（WEISHIMIBANG）<small>43</small>
											<input type="radio" name="brand" value="威世米邦（WEISHIMIBANG）">
											<span class="checkmark"></span>
										</label>
									</li>
									<li>
										<label class="container_check">骆驼（CAMEL）<small>43</small>
											<input type="radio" name="brand" value="骆驼（CAMEL）">
											<span class="checkmark"></span>
										</label>
									</li>
	                            </ul>
	                        </div>
	                    </div>
	                    <!-- /filter_type -->
	                    <div class="filter_type version_2">
	                        <h4><a href="#filter_3" data-toggle="collapse" class="closed">材质</a></h4>
	                        <div class="collapse" id="filter_3">
	                            <ul>
	                                <li>
	                                    <label class="container_check">合成革 <small>11</small>
	                                        <input type="radio" name="material" value="合成革">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">修面皮<small>08</small>
	                                        <input type="radio" name="material" value="修面皮">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">人造皮革<small>05</small>
	                                        <input type="radio" name="material" value="人造皮革">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">太空革<small>18</small>
	                                        <input type="radio" name="material" value="太空革">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
									<li>
										<label class="container_check">头层牛皮（除牛反绒）<small>18</small>
											<input type="radio" name="material" value="头层牛皮（除牛反绒）">
											<span class="checkmark"></span>
										</label>
									</li>
									<li>
										<label class="container_check">胶粘鞋<small>18</small>
											<input type="radio" name="material" value="胶粘鞋">
											<span class="checkmark"></span>
										</label>
									</li>
	                            </ul>
	                        </div>
	                    </div>
	                    <!-- /filter_type -->
	                    <div class="filter_type version_2">
	                        <h4><a href="#filter_4" data-toggle="collapse" class="closed">鞋帮</a></h4>
	                        <div class="collapse" id="filter_4">
	                            <ul>
	                                <li>
	                                    <label class="container_check">低帮<small>11</small>
	                                        <input type="radio" name="upper"  value="低帮">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>
	                                <li>
	                                    <label class="container_check">高帮<small>08</small>
	                                        <input type="radio" name="upper" value="高帮">
	                                        <span class="checkmark"></span>
	                                    </label>
	                                </li>

	                            </ul>
	                        </div>
	                    </div>
	                    <!-- /filter_type -->
	                    <div class="buttons">
	                        <a href="#0" class="btn_1" onclick="selectOther()">Filter</a> <a href="#0" class="btn_1 gray">Reset</a>
	                    </div>
	                </div>
	            </aside>
	            <!-- /col -->
	            <div class="col-lg-9">
	                <div class="top_banner">
	                    <div class="opacity-mask d-flex align-items-center" data-opacity-mask="rgba(0, 0, 0, 0.3)">
	                        <div class="container pl-lg-5">
	                            <div class="breadcrumbs">
	                                <ul>
	                                    <li><a href="#">Home</a></li>
	                                    <li><a href="#">Category</a></li>
	                                    <li>Page active</li>
	                                </ul>
	                            </div>
	                            <h1>Shoes - Grid listing</h1>
	                        </div>
	                    </div>
	                    <img src="../img3/bg_cat_shoes.jpg" class="img-fluid" alt="">
	                </div>
	                <!-- /top_banner -->
	                <div id="stick_here"></div>
	                <div class="toolbox elemento_stick add_bottom_30">
	                    <div class="container">
	                        <ul class="clearfix">
	                            <li>
	                                <div class="sort_select">
	                                    <select name="sort" id="sort">
	                                        <option value="popularity" selected="selected">Sort by popularity</option>
	                                        <option value="rating">Sort by average rating</option>
	                                        <option value="date">Sort by newness</option>
	                                        <option value="price">Sort by price: low to high</option>
	                                        <option value="price-desc">Sort by price: high to
	                                    </select>
	                                </div>
	                            </li>
	                            <li>
	                                <a href="#0"><i class="ti-view-grid"></i></a>
	                                <a href="listing-row-1-sidebar-left.html"><i class="ti-view-list"></i></a>
	                            </li>
	                            <li>
	                                <a href="#0" class="open_filters">
	                                    <i class="ti-filter"></i><span>Filters</span>
	                                </a>
	                            </li>
	                        </ul>
	                    </div>
	                </div>
	                <!-- /toolbox -->
					<iframe   src="../html/shoe2.html" width="100%" height="1220px"  scrolling="no"   name="iframe2"   style="border: 0" >
					</iframe>
	            </div>
	            <!-- /col -->
	        </div>
	        <!-- /row -->
	    </div>
	    <!-- /container -->
	</main>
	<!-- /main -->
	
	<footer class="revealed">
		<div class="container">
			<div class="row">
				<div class="col-lg-3 col-md-6">
					<h3 data-target="#collapse_1">Quick Links</h3>
					<div class="collapse dont-collapse-sm links" id="collapse_1">
						<ul>
							<li><a href="about.html">About us</a></li>
							<li><a href="help.html">Faq</a></li>
							<li><a href="help.html">Help</a></li>
							<li><a href="account.html">My account</a></li>
							<li><a href="blog.html">Blog</a></li>
							<li><a href="contacts.html">Contacts</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-3 col-md-6">
					<h3 data-target="#collapse_2">Categories</h3>
					<div class="collapse dont-collapse-sm links" id="collapse_2">
						<ul>
							<li><a href="listing-grid-1-full.html">Clothes</a></li>
							<li><a href="listing-grid-2-full.html">Electronics</a></li>
							<li><a href="listing-grid-1-full.html">Furniture</a></li>
							<li><a href="listing-grid-3.html">Glasses</a></li>
							<li><a href="listing-grid-1-full.html">Shoes</a></li>
							<li><a href="listing-grid-1-full.html">Watches</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-3 col-md-6">
						<h3 data-target="#collapse_3">Contacts</h3>
					<div class="collapse dont-collapse-sm contacts" id="collapse_3">
						<ul>
							<li><i class="ti-home"></i>97845 Baker st. 567<br>Los Angeles - US</li>
							<li><i class="ti-headphone-alt"></i>+94 423-23-221</li>
							<li><i class="ti-email"></i><a href="#0">info@allaia.com</a></li>
						</ul>
					</div>
				</div>
				<div class="col-lg-3 col-md-6">
						<h3 data-target="#collapse_4">Keep in touch</h3>
					<div class="collapse dont-collapse-sm" id="collapse_4">
						<div id="newsletter">
						    <div class="form-group">
						        <input type="email" name="email_newsletter" id="email_newsletter" class="form-control" placeholder="Your email">
						        <button type="submit" id="submit-newsletter"><i class="ti-angle-double-right"></i></button>
						    </div>
						</div>
						<div class="follow_us">
							<h5>Follow Us</h5>
							<ul>
								<li><a href="#0"><img src="" data-src="../img3/twitter_icon.svg" alt="" class="lazy"></a></li>
								<li><a href="#0"><img src="" data-src="../img3/facebook_icon.svg" alt="" class="lazy"></a></li>
								<li><a href="#0"><img src="" data-src="../img3/instagram_icon.svg" alt="" class="lazy"></a></li>
								<li><a href="#0"><img src="" data-src="../img3/youtube_icon.svg" alt="" class="lazy"></a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<!-- /row-->
			<hr>
			<div class="row add_bottom_25">
				<div class="col-lg-6">
					<ul class="footer-selector clearfix">
						<li>
							<div class="styled-select lang-selector">
								<select>
									<option value="English" selected>English</option>
									<option value="French">French</option>
									<option value="Spanish">Spanish</option>
									<option value="Russian">Russian</option>
								</select>
							</div>
						</li>
						<li>
							<div class="styled-select currency-selector">
								<select>
									<option value="US Dollars" selected>US Dollars</option>
									<option value="Euro">Euro</option>
								</select>
							</div>
						</li>
						<li><img src="" data-src="../img3/cards_all.svg" alt="" width="198" height="30" class="lazy"></li>
					</ul>
				</div>
				<div class="col-lg-6">
					<ul class="additional_links">
						<li><a href="#0">Terms and conditions</a></li>
						<li><a href="#0">Privacy</a></li>
						<li><span>© 2020 Allaia</span></li>
					</ul>
				</div>
			</div>
		</div>
	</footer>
	<!--/footer-->
	</div>
	<!-- page -->
	
	<div id="toTop"></div><!-- Back to top button -->
	
	<!-- COMMON SCRIPTS -->
    <script src="../js/common_scripts.min.js"></script>
    <script src="../js/main.js"></script>
	
	<!-- SPECIFIC SCRIPTS -->
	<script src="../js/sticky_sidebar.min.js"></script>
	<script src="../js/specific_listing.js"></script>
	<script>

	</script>
		<!--<script>
			var currPage=1;
			pageSize=9;
			var search = location.search;
			console.log(search)
			// 按照=对参数分割
			var arr = search.split("=")
			if(arr.length >1){
				currPage = arr[1]
			}

			console.log(currPage)

			var k;
			var j= currPage.toString().split("&")
			if(j.length >1){
				k = j[0]
			}
			var l=1;

			if(k>0 && k<100){
				l=k;
			}


			// GetChildValue(p1,p2,p3,l,p4)
			GetChildValue("undefined","undefined","undefined",l,"undefined","undefined")
			function GetChildValue(a,b,c,d,e,h){
				console.log(d)
				console.log(a,b,c,d,e,h)

				$.getJSON("http://localhost:8080/nb/shoe?currPage="+ d + "&pageSize=" + pageSize + "&goodBrand=" + c + "&goodSex="+ e + "&goodUpper=" + a + "&goodScience=" + b + "&goodName=" + h,function (data) {
					console.log(data)

					var list = data.data.list
					f(list)
					generatePage(data.data.navigatepageNums,  data.data.pageNum
							, data.data.pages)
				});

				function generatePage(navigatepageNums, pageNum, pages){
					var tmp1 = document.getElementsByName("upper");
					var upper
					for(var i=0; i<tmp1.length; ++i)
						if(tmp1.item(i).checked){
							upper =	tmp1.item(i).getAttribute("value");
						}
					var sex
					var tmp2 = document.getElementsByName("sex");
					for(var i=0; i<tmp2.length; ++i)
						if(tmp2.item(i).checked){
							sex =	tmp2.item(i).getAttribute("value");
						}
					var brand
					var tmp3= document.getElementsByName("brand");
					for(var i=0; i<tmp3.length; ++i)
						if(tmp3.item(i).checked){
							brand =	tmp3.item(i).getAttribute("value");
						}
					var material
					var tmp4= document.getElementsByName("material");
					for(var i=0; i<tmp4.length; ++i)
						if(tmp4.item(i).checked){
							material =	tmp4.item(i).getAttribute("value");
						}
					console.log(sex,brand,material,upper)

					var html = ''
					console.log(pageNum == 1)
					if(pageNum == 1){
						html += `<li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>`
					} else {
						html += `<li><a href="http://http://localhost:63343/qiguai/html/listing-grid-6-sidebar-left.html?currPage=${pageNum-1}&pageSize=9&goodBrand=${brand}&goodSex=${sex}&goodUpper=${upper}&goodScience=${material}" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>`
					}
					// console.log(navigatePages)
					// 生成页码
					for(let i = 0; i < navigatepageNums.length; i++){
						if(pageNum == navigatepageNums[i]){
							// 当前页class=active，设置选中效果
							html += `<li class="active"><a href="#">${navigatepageNums[i]}</a></li>`
						} else {
							// showhero.html?
							// 不是当前页
							html += `<li><a href="http://http://localhost:63343/qiguai/html/listing-grid-6-sidebar-left.html?currPage=${navigatepageNums[i]}&pageSize=9&goodBrand=${brand}&goodSex=${sex}&goodUpper=${upper}&goodScience=${material}">${navigatepageNums[i]}</a></li>`
						}
					}

					if(pageNum == pages) {
						html += `<li class="disabled"><a href="#" aria-label="Next">
                    <span aria-hidden="true">&raquo;</span>
                </a></li>`
					} else {
						html += `<li><a href="http://http://localhost:63343/qiguai/html/listing-grid-6-sidebar-left.html?currPage=${pageNum+1}&pageSize=9&goodBrand=${brand}&goodSex=${sex}&goodUpper=${upper}&goodScience=${material}" onclick="" aria-label="Next">
                    <span aria-hidden="true">&raquo;</span>
                </a></li>`
					}

					$("#ul").html(html)

				}
			}


			function f(list) {
				let html = ''
				for(let i = 0; i < list.length; i++) {
					console.log(list[i])
					html += `
            <div class="col-6 col-md-4">
							<div class="grid_item">
								<span class="ribbon off">-30%</span>
								<figure>
									<a href="http://localhost:63343/qiguai/html/single-goods.html?id=${list[i].goodId}">
										<img class="img-fluid lazy" src="${list[i].goodPhoto}" data-src="../img3/products/shoes/1.jpg" alt="">
									</a>
									<div data-countdown="2020/03/15" class="countdown"></div>
								</figure>
								<a href="http://localhost:63343/qiguai/html/single-goods.html?id=${list[i].goodId}">
									<h3>${list[i].goodName}</h3>
								</a>
								<div class="price_box">
									<span class="new_price">$${list[i].goodMoney}</span>
									<span class="old_price">$${parseInt(list[i].goodMoney)+30}</span>
								</div>
								<ul>
									<li><a href="#0" class="tooltip-1" data-toggle="tooltip" data-placement="left" title="Add to favorites"><i class="ti-heart"></i><span>Add to favorites</span></a></li>
									<li><a href="#0" class="tooltip-1" data-toggle="tooltip" data-placement="left" title="Add to compare"><i class="ti-control-shuffle"></i><span>Add to compare</span></a></li>
									<li><a href="#0" class="tooltip-1" data-toggle="tooltip" data-placement="left" title="Add to cart"><i class="ti-shopping-cart"></i><span>Add to cart</span></a></li>
								</ul>
							</div>
							&lt;!&ndash; /grid_item &ndash;&gt;
						</div>
            `
				}
				$("#aa").html(html)
			}

			function selectOther() {
				var tmp1 = document.getElementsByName("upper");
				var upper
				for(var i=0; i<tmp1.length; ++i)
					if(tmp1.item(i).checked){
						upper =	tmp1.item(i).getAttribute("value");
					}
				var sex
				var tmp2 = document.getElementsByName("sex");
				for(var i=0; i<tmp2.length; ++i)
					if(tmp2.item(i).checked){
						sex =	tmp2.item(i).getAttribute("value");
					}
				var brand
				var tmp3= document.getElementsByName("brand");
				for(var i=0; i<tmp3.length; ++i)
					if(tmp3.item(i).checked){
						brand =	tmp3.item(i).getAttribute("value");
					}
				var material
				var tmp4= document.getElementsByName("material");
				for(var i=0; i<tmp4.length; ++i)
					if(tmp4.item(i).checked){
						material =	tmp4.item(i).getAttribute("value");
					}
				console.log(sex,brand,material,upper)
				GetChildValue(upper,material,brand,l,sex,"")

			}

		</script>-->
<script>
	function selectOther() {
		var tmp1 = document.getElementsByName("upper");
		var upper
		for(var i=0; i<tmp1.length; ++i)
			if(tmp1.item(i).checked){
				upper =	tmp1.item(i).getAttribute("value");
			}
		var sex
		var tmp2 = document.getElementsByName("sex");
		for(var i=0; i<tmp2.length; ++i)
			if(tmp2.item(i).checked){
				sex =	tmp2.item(i).getAttribute("value");
			}
		var brand
		var tmp3= document.getElementsByName("brand");
		for(var i=0; i<tmp3.length; ++i)
			if(tmp3.item(i).checked){
				brand =	tmp3.item(i).getAttribute("value");
			}
		var material
		var tmp4= document.getElementsByName("material");
		for(var i=0; i<tmp4.length; ++i)
			if(tmp4.item(i).checked){
				material =	tmp4.item(i).getAttribute("value");
			}
		var sou = self.parent.frames["iframe1"].frames.document.getElementById("sou").value

		// iframName.window.GetChildValue(upper,material,brand,1,sex,"undefined")
		self.parent.frames["iframe2"].frames.GetChildValue(upper,material,brand,1,sex,sou);

	}
	$('input:radio').click(function(){
		//alert(this.checked);
		//
		var $radio = $(this);
		// if this was previously checked
		if ($radio.data('waschecked') == true){
			$radio.prop('checked', false);
			$radio.data('waschecked', false);
		} else {
			$radio.prop('checked', true);
			$radio.data('waschecked', true);
		}
	});
</script>
</body>
</html>